import 'package:base_plugin/base_plugin.dart';
import 'package:finance_app/generated/a.dart';
import 'package:flutter/material.dart';

class AceCloseButton extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Padding(
      padding: EdgeInsets.only(top: MediaQuery.of(context).padding.top),
      child: IconButton(
        icon: Icon(Icons.close),
        onPressed: () => Navigator.of(context).pop(true),
        iconSize: getDp(30),
        color: Colors.white,
      ),
    );
  }
}
